package com.mdd.admin.validate.comment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 服务评价回复对象
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "服务评价回复对象", description = "服务评价回复对象")
public class GoodsCommentReplyParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id",required = true)
    @NotNull(message = "id参数缺失")
    private Long id;

    @ApiModelProperty(value = "评论内容",required = true)
    @NotNull(message = "内容参数缺失")
    private String content;
}
